package com.gxa.entity.commlife;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:18:00
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_merchant_type")
@ApiModel(value = "MerchantType对象", description = "")
@AllArgsConstructor
@NoArgsConstructor
public class MerchantType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键 ")
    @TableId(value = "merchant_id", type = IdType.AUTO)
    private Integer merchantId;

    @ApiModelProperty(value = "类型名称 ")
    @TableField("type_name")
    private String typeName;

    @ApiModelProperty(value = "创建时间 ")
    //fill = FieldFill.INSET
    @TableField(value = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "假删除")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;


}
